<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>企业分级评定查看</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=path%>/js/table_span.js"></script>
	<script type="text/javascript">
	   	function forwardTo(method){
	   		var objId='${apply.id}';
	   		if(method==1){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdShow.action?objId='+objId;
	   		}else if(method==2){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdWsShow.action?objId='+objId+'&cType=1';
	   		}else if(method==3){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdWsShow.action?objId='+objId+'&cType=2';
	   		}else if(method==4){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdSdShow.action?objId='+objId;
	   		}else if(method==5){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdHyShow.action?objId='+objId;
	   		}else if(method==6){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdCheckShow.action?objId='+objId+'&cType=1';
	   		}else if(method==7){
	   			window.location.href='<%=basePath%>/fjpd/_fjpdCheckShow.action?objId='+objId+'&cType=2';
	   		}else{
	   			window.location.href='<%=basePath%>/fjpd/_fjpdPsdwShow.action?objId='+objId;
	   		}
		}
	</script>
  </head>
  
  <body onload="_w_table_lefttitle_rowspan('#mytable','1','3');">
	<div  class="body-box">
		<div class="map">
			<div class="map_con">
				您当前的位置：分级评定 &gt; 评定信息查看
			</div>
			
		</div>
		<div id="container">
		<table border="0" cellpadding="0" cellspacing="0" class="mytable">
			<tr><td align="center"><font><b>${apply.corpName }</b></font></td></tr>
		</table>
		<div class="tab_div">
			<div class="tab_on"><a href="javascript:forwardTo(1);">企业自评</a></div>
			<div class="tab"><a href="javascript:forwardTo(2);">申请表</a></div>
			<div class="tab"><a href="javascript:forwardTo(3);">自评报告</a></div>
			<div class="tab"><a href="javascript:forwardTo(4);">县(市、区)、开发区行业初审结果</a></div>
			<div class="tab"><a href="javascript:forwardTo(5);">市行业复核确认结果</a></div>
			<div class="tab"><a href="javascript:forwardTo(6);">县(市、区)、开发区安委会抽查</a></div>
			<div class="tab"><a href="javascript:forwardTo(7);">市安办抽查</a></div>
		</div>
		<div class="tab_con">
			<table border="0" cellpadding="0" cellspacing="0" class="mytable" align="center" style="width: 80%;float: none;">
				<tr>
					<td colspan="2" style="text-align: center;">总项数：<a href="<%=basePath%>/fjpd/_fjpdShow.action?objId=${apply.id }"><font color="red">${apply.zpHgNum+apply.zpBhgNum+apply.zpBsjNum }</font></a></td>
					<td colspan="2" style="text-align: center;">合格项：<a href="<%=basePath%>/fjpd/_fjpdShow.action?objId=${apply.id }&cType=1"><font color="red">${apply.zpHgNum }</font></a></td>
					<td colspan="2" style="text-align: center;">不合格项：<a href="<%=basePath%>/fjpd/_fjpdShow.action?objId=${apply.id }&cType=2"><font color="red">${apply.zpBhgNum }</font></a></td>
					<td colspan="2" style="text-align: center;">不涉及项：<a href="<%=basePath%>/fjpd/_fjpdShow.action?objId=${apply.id }&cType=3"><font color="red">${apply.zpBsjNum }</font></a></td>
					<td colspan="2" style="text-align: center;">得分：${apply.zpScore }</td>
				</tr>
				<tr>
					<th colspan="10">${apply.tabName }</th>
				</tr>
			</table>
	    	<table border="0" cellpadding="0" cellspacing="0" class="mytable" id="mytable"  align="center" style="width: 80%;float: none;">
				<s:if test="%{apply!=null}">
					<thead>
				    	<tr class="fixedHeaderTr">
				     		<th width="8%">Ⅰ级类型</th>
	    					<th width="8%">Ⅱ级类型</th>
	    					<th width="10%">Ⅲ级类型</th>
							<th width="25%">评定项目</th>
							<th width="5%">标准分值</th>
							<th width="15%">评分标准</th>
							<th width="10%">自评结果</th>
							<th width="5%">自评得分</th>
							<th width="14%" style="border-right:none">扣分说明</th>
				    	</tr>
			   		</thead>
				   	<tbody>
					<s:if test="%{itemList.size>0}">
					  	<s:iterator id="obj" value="itemList" status="x">
					  		<tr id="tr_${x.index }">
								<td align="center">${obj.itemType1Name }</td>
								<td align="center">${obj.itemType2Name }</td>
								<td align="center">${obj.itemType3 }</td>
								<td>${obj.itemInfo }</td>
								<td align="center">${obj.itemScore }</td>
								<td>${obj.itemBzh }</td>
								<td align="center">
									<s:if test="%{#obj.zpIsCheck==1}"><font color="green">合格</font></s:if>
									<s:elseif test="%{#obj.zpIsCheck==2}"><font color="red">不合格</font></s:elseif>
									<s:elseif test="%{#obj.zpIsCheck==3}">不涉及</s:elseif>
								</td>
								<td align="center">${obj.zpScore }</td>
								<td align="center">${obj.zpKfMsg }</td>
							</tr>
					  	</s:iterator>		
					</s:if>
				</s:if>
				<s:else>
					<tr>
						<td>您的企业的企业类型未对应评级标准，请联系管理部门！</td>
					</tr>
				</s:else>
			</table>
		</div>
		</div>
	</div>
  </body>
</html>
